package net.lesscoding.protocol;

import java.util.concurrent.atomic.AtomicInteger;

/**
 * @author eleven
 * @date 2024/12/4 10:30
 * @apiNote
 */
public class SequenceIdGenerator {
    private static final AtomicInteger id = new AtomicInteger();
    public static int nextId() {
        return id.incrementAndGet();
    }
}
